﻿using System.Collections.Generic;

namespace Configuration.ServerApi.Entity.Model
{
    /// <summary>
    /// 功能菜单数据Model
    /// </summary>
    public class MenuModel
    {
        /// <summary>
        /// 数据ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 菜单英文名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 菜单路由地址
        /// </summary>
        public string Path { get; set; }

        /// <summary>
        /// 菜单视图文件地址
        /// </summary>
        public string Component { get; set; }

        /// <summary>
        /// 菜单重定向跳转路由地址
        /// </summary>
        public string Redirect { get; set; }

        /// <summary>
        /// 菜单标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 菜单图标
        /// </summary>
        public string Icon { get; set; }

        /// <summary>
        /// 所属父级菜单ID
        /// </summary>
        public string ParentId { get; set; }

        /// <summary>
        /// 是否隐藏  true: 隐藏  false: 不隐藏
        /// </summary>
        public string Hidden { get; set; }

        /// <summary>
        /// 是否存在子级菜单  true: 是  false: 否
        /// </summary>
        public string AlwaysShow { get; set; }

        /// <summary>
        /// 子节点数据
        /// </summary>
        public List<MenuModel> Children { get; set; }

    }
}
